#ifndef MAIN_WIDGET_H
#define MAIN_WIDGET_H

#include <QWidget>
class QPushButton;
class QLineEdit;
class QHBoxLayout;
class QVBoxLayout;
class QProgressBar;
class MainWidget : public QWidget
{
    Q_OBJECT
public:
    explicit MainWidget(QWidget *parent = nullptr);
    void intiUI();
    void initConnect();
signals:

public slots:
    void slotSelectFileDir();
    void slotSaveFileDir();
    void slotDoWork();
private:
    QPushButton *m_btnSelectFile;
    QLineEdit   *m_edtSelectFile;
    QPushButton *m_btnSaveFile;
    QLineEdit   *m_edtSaveFile;
    QVBoxLayout *m_layoutMain;
    QHBoxLayout *m_layoutSelect;
    QHBoxLayout *m_layoutSave;
    QPushButton *m_btnDoWork;

    QProgressBar *m_progressBar;


};

#endif // MAIN_WIDGET_H
